package com.itcodai.design_pattern.behavioral.strategy;

import org.springframework.stereotype.Service;

/**
 * @author c-fanqj
 * @date 2023/3/17
 * @apiNote
 */
@Service
public class NormalDisCountService implements DiscountStrategy {

    public String getType() {
        return "normal";
    }

    public double disCount(double fee) {
        System.out.println("normal card");
        return fee * 1;
    }

}